A Formal Model of Use-Cases and Its Application in Generating A Hierarchical Class-Structure
نویسندگان
چکیده
Creating an object-oriented design from user requirements, given as a set of use-cases, means deriving a detailed class structure that can support an implementation of those requirements. We introduce here the Augmented Finite-State (AFS) model for a set of use-cases. An AFS model of a single usecase U incorporates the inputs, outputs, and operations for each interaction in U , including the ”internal” dataflows among those interactions. The AFS model for a set of use-cases U combines the AFS models of individual use-cases Uj ∈ U to account for common interactions among Uj ’s and the control-flows among Uj ’s. After we decompose the combined model into a unique set of disjoint Maximal Linear Segments (MLSs), we derive one class from each MLS and finally create the class-hierarchy based on the next-relationship among the MLSs. One advantage of our approach over those based on the concept-analysis is that the AFS model gives a simple controller for the call-sequences of the class-methods corresponding to each Uj . Keywords–Augmented finite-state model; class hierarchy; objectoriented design; refactoring; use-case model.
منابع مشابه
Recurrence Relations for Moment Generating Functions of Generalized Order Statistics Based on Doubly Truncated Class of Distributions
In this paper, we derived recurrence relations for joint moment generating functions of nonadjacent generalized order statistics (GOS) of random samples drawn from doubly truncated class of continuous distributions. Recurrence relations for joint moments of nonadjacent GOS (ordinary order statistics (OOS) and k-upper records (k-RVs) as special cases) are obtained. Single and product moment gene...
متن کاملA short introduction to two approaches in formal verification of security protocols: model checking and theorem proving
In this paper, we shortly review two formal approaches in verification of security protocols; model checking and theorem proving. Model checking is based on studying the behavior of protocols via generating all different behaviors of a protocol and checking whether the desired goals are satisfied in all instances or not. We investigate Scyther operational semantics as n example of this...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملan Application of the Logit Model to the Analysis of Informal Sector Activities
This paper reports on the results of a research carried out during 1993-94 aiming at studying street sellers as an informal sector activity and a source of socio-economic problems in Shiraz, Iran. This study makes use of two Logit models in order to present a unified framework depiciting the factors that seem to affect the developmeht of informal sector activities. The first model looks at thos...
متن کامل